﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ProjectClassAdd.aspx.cs" Inherits="ProjectClassAdd" Title="Project Monitoring System"
    Culture="auto:en-US" UICulture="auto" meta:resourcekey="PageResource1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <asp:ObjectDataSource ID="ODSProjectClass" runat="server" DeleteMethod="Delete" InsertMethod="Insert"
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetProjectClass"
        TypeName="IPTableAdapters.ProjectClassTableAdapter" UpdateMethod="Update">
        <DeleteParameters>
            <asp:Parameter Name="IsDelete" Type="Boolean" />
            <asp:Parameter Name="DeleteBy" Type="String" />
            <asp:Parameter Name="DeleteIP" Type="String" />
            <asp:Parameter Name="ProjectClass" Type="String" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="UpdateBy" Type="String" />
            <asp:Parameter Name="ProjectClass" Type="String" />
            <asp:Parameter Name="UpdateIP" Type="String" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="ProjectClass" Type="String" />
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="CreateBy" Type="String" />
            <asp:Parameter Name="UpdateBy" Type="String" />
            <asp:Parameter Name="OwnerGroupID" Type="String" />
            <asp:Parameter Name="CreateIP" Type="String" />
        </InsertParameters>
    </asp:ObjectDataSource>
    <table width="1000px">
        <tr>
            <td align="center">
                <asp:Label ID="lblError" runat="server" ForeColor="Red" Width="100%" CssClass="error"
                    meta:resourcekey="lblErrorResource1"></asp:Label>
            </td>
        </tr>
    </table>
    <table style="width: 970px;">
        <tr>
            <td style="width: 970px; height: 321px; vertical-align: top;">
                <fieldset style="text-align: center;">
                    <legend>
                        <asp:Label ID="lblEdit" runat="server" Text="Project Class" meta:resourcekey="lblEditResource1"></asp:Label></legend>
                    <table>
                        <tr>
                            <td style="vertical-align: top; width: 20%; text-align: right">
                                <asp:Label ID="lblProjectClass" runat="server" Text="Project Class" meta:resourcekey="lblCountryResource1"></asp:Label>
                            </td>
                            <td style="width: 344px; vertical-align: top; text-align: left;">
                                <asp:TextBox ID="txtProjectClass" runat="server" MaxLength="30" CssClass="required"
                                    meta:resourcekey="txtCountryResource1"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProjectClass"
                                    Display="Dynamic" ErrorMessage="Project Class is a required field." meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="vertical-align: top; width: 20%; text-align: right;">
                                <asp:Label ID="lblDescription" runat="server" Text="Description" meta:resourcekey="lblCountryEngResource1"></asp:Label>
                            </td>
                            <td style="width: 344px; vertical-align: top; text-align: left;">
                                <asp:TextBox ID="txtDescription" runat="server" MaxLength="100" Width="331px" meta:resourcekey="txtCountryEngResource1"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="vertical-align: top; width: 20%; text-align: right">
                            </td>
                            <td style="width: 344px; vertical-align: top; text-align: left;">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center">
                                <div style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px; padding-top: 5px">
                                    <asp:Button ID="btnNew" runat="server" CausesValidation="False" CssClass="submit"
                                        Visible="false" OnClick="btnNew_Click" Text="New" meta:resourcekey="btnNewResource1" />
                                    <asp:Button ID="btnModify" runat="server" CausesValidation="False" CssClass="submit"
                                        Visible="false" OnClick="btnModify_Click" Text="Edit" meta:resourcekey="btnModifyResource1" />
                                    <asp:Button ID="btnSave" runat="server" CssClass="submit" OnClick="btnSave_Click"
                                        Text="Save" meta:resourcekey="btnSaveResource1" />
                                    <asp:Button ID="btnDelete" runat="server" CausesValidation="False" CssClass="submit"
                                        Visible="false" OnClick="btnDelete_Click" Text="Delete" meta:resourcekey="btnDeleteResource1" />
                                    <asp:Button ID="btnCancel" runat="server" CssClass="reset" OnClick="btnCancel_Click"
                                        Text="Cancel" meta:resourcekey="btnCancelResource1" CausesValidation="False" />
                                    <asp:Button ID="btnBack" runat="server" CausesValidation="false" CssClass="reset"
                                        meta:resourcekey="btnBackResource1" Text="Back" OnClick="btnBack_Click" />
                                </div>
                            </td>
                        </tr>
                    </table>
                    <asp:CheckBox ID="chkForOperation" runat="server" Visible="False" meta:resourcekey="chkForOperationResource1" /><asp:CheckBox
                        ID="cbForUpdate" runat="server" Height="2px" Visible="False" Width="121px" meta:resourcekey="cbForUpdateResource1" />
                </fieldset>
            </td>
        </tr>
    </table>
    <table height="300">
        <tr>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
